package com.cgbl.service.assist

import androidx.localbroadcastmanager.content.LocalBroadcastManager
import com.robot.base.model.MemberAdapterBean
import com.robot.base.util.LiveDataEventManager

object ProjectAssist {

    private var id = ""

    private var members = arrayListOf<MemberAdapterBean>()

    fun initCurrentProject(id: String) {
        this.id = id
    }

    fun initCurrentProjectMembers(members: List<MemberAdapterBean>) {
        this.members.clear()
        this.members.addAll(members)
    }

    fun getCurrentProjectId() = id

    fun getCurrentProjectMembers() = members
}